<template>
  <div class="app">
    <router-view></router-view>
    <!-- 隐藏标签栏：方法一：路由设置 -->
    <!-- <TabBar v-if="!route.meta.hideTabBar"></TabBar> -->
    <TabBar></TabBar>
    <Loading />
  </div>
</template>

<script setup>

import TabBar from "@/components/tab-bar/tabbar.vue";
import Loading from "./components/loading/loading.vue";
import { useRoute } from "vue-router";

// 当前活跃的路由对象
const route = useRoute();

</script>

<style scoped></style>
